package com.dianjing.dianjing.mapper;

import com.dianjing.dianjing.dto.output.PaintingOutput;
import com.dianjing.dianjing.entity.Painting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author owf
 * @since 2022-11-11
 */
@Mapper
public interface PaintingMapper extends BaseMapper<Painting> {

    /**
     * 作品详情
     * @param paintingId
     * @return
     */
    PaintingOutput detail(Long paintingId);
}
